package p270jp.pxv.android.legacy.model;

import android.support.p024v4.media.C0261e;
import java.io.Serializable;
import p325m0.C4721b;
import p325m0.MutabilityOwnership;

/* compiled from: PixivMutedTag.kt */
/* renamed from: jp.pxv.android.legacy.model.PixivMutedTag */
/* loaded from: classes2.dex */
public final class PixivMutedTag implements Serializable, MuteSettingsListItem {
    private final boolean isPremiumSlot;
    private final PixivTag tag;

    public PixivMutedTag(PixivTag pixivTag, boolean z) {
        MutabilityOwnership.m3745m(pixivTag, "tag");
        this.tag = pixivTag;
        this.isPremiumSlot = z;
    }

    public static /* synthetic */ PixivMutedTag copy$default(PixivMutedTag pixivMutedTag, PixivTag pixivTag, boolean z, int i, Object obj) {
        if ((i & 1) != 0) {
            pixivTag = pixivMutedTag.tag;
        }
        if ((i & 2) != 0) {
            z = pixivMutedTag.isPremiumSlot;
        }
        return pixivMutedTag.copy(pixivTag, z);
    }

    public final PixivTag component1() {
        return this.tag;
    }

    public final boolean component2() {
        return this.isPremiumSlot;
    }

    public final PixivMutedTag copy(PixivTag pixivTag, boolean z) {
        MutabilityOwnership.m3745m(pixivTag, "tag");
        return new PixivMutedTag(pixivTag, z);
    }

    @Override // java.lang.Object
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof PixivMutedTag)) {
            return false;
        }
        PixivMutedTag pixivMutedTag = (PixivMutedTag) obj;
        return MutabilityOwnership.m3749h(this.tag, pixivMutedTag.tag) && this.isPremiumSlot == pixivMutedTag.isPremiumSlot;
    }

    public final PixivTag getTag() {
        return this.tag;
    }

    @Override // java.lang.Object
    public int hashCode() {
        int hashCode = this.tag.hashCode() * 31;
        boolean z = this.isPremiumSlot;
        if (z) {
            z = true;
        }
        int i = z ? 1 : 0;
        int i2 = z ? 1 : 0;
        int i3 = z ? 1 : 0;
        return hashCode + i;
    }

    public final boolean isPremiumSlot() {
        return this.isPremiumSlot;
    }

    @Override // java.lang.Object
    public String toString() {
        StringBuilder c = C0261e.m12042c("PixivMutedTag(tag=");
        c.append(this.tag);
        c.append(", isPremiumSlot=");
        return C4721b.m3753a(c, this.isPremiumSlot, ')');
    }
}
